.masonry {

    column-count: 5;
    /*指定列数 */
    /* -webkit-column-gap: 15px;
-moz-column-gap: 15px; */
    column-gap: 8px;
    /*列与列之间的间距 */


    .productItem {
        break-inside: avoid;
        margin-bottom: 15px;
        /* padding: 10px; */
        /* background-color: #fff; */
        /* box-shadow: 0 0 5px rgba(0, 0, 0, 0.3); */
    }

    .my-masonry-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
    }

    .my-masonry-grid_column {
        padding-left: 16px;
        background-clip: padding-box;
    }

    .image-item {
        background-color: #fff;
        border-radius: 8px;
        overflow: hidden;
    }
}

.app {
    font-family: Arial, sans-serif;
    padding: 10px;
}

.masonry {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 10px;
}

.masonry-item {
    /* background-color: #f0f0f0; */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.masonry-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.loading {
    text-align: center;
    margin-top: 20px;
    font-size: 16px;
    color: #888;
}

/* 图片翻页样式 */
.image-container {
    position: relative;
    width: 100%;
    height: 50vh;
    /* 或者你想要的图片容器高度 */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flip-image {
    max-width: 100%;
    max-height: 100%;
    cursor: pointer;
    /* 鼠标指针样式 */
}

.page-indicator {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5rem;
    color: white;
    /* 或者你想要的文字颜色 */
    background: rgba(0, 0, 0, 0.5);
    /* 可选：文字背景 */
    padding: 5px 10px;
    border-radius: 5px;
}

/* 图片上移动画样式 */
